#ifndef CALIBRATION_MODEL_STANDARDCALIBVIEWMODEL_H
#define CALIBRATION_MODEL_STANDARDCALIBVIEWMODEL_H

#include <QString>
#include "Interface/Count.h"

class StandardCalibViewModel
{
public:
    StandardCalibViewModel();

    //校准物校准用的参数值
    struct StandardCalibParam
    {
        bool check;
        QString wbc;
        QString rbc;
        QString hgb;
        QString mcv;
        QString plt;

    };

    //校准物校准计算用的数值
    struct StandardCalibParamValue
    {
        double wbc;
        double rbc;
        double hgb;
        double mcv;
        double plt;
    };

    //批号
    QString BatchNumber;

    //有效期
    QString ExpirationDate;

    Count::EAnalysisType analysisMode;
    Count::EBloodType bloodMode;

    //靶值
    StandardCalibParamValue target;
    //参数值
    StandardCalibParamValue param[12];
    StandardCalibParamValue diffMean;
    StandardCalibParamValue diffCV;
    StandardCalibParamValue cbcMean;
    StandardCalibParamValue cbcCV;
    //新校准系数
    StandardCalibParamValue newCalibCoef;
    //传递系数
    StandardCalibParamValue transferCoef;

};

#endif // CALIBRATION_MODEL_STANDARDCALIBVIEWMODEL_H
